extends ../layout

block content
	.contenter
		.row
			each item in movies
				.col-md-2
					.thumbnail
						a(href="/movies/#{item._id}")
							img(src="#{item.poster}",alter="#{item.title}")
						.cation
							h3 #{title}
							p: a.btn.btn-primary(href="/movies/#{item._id}",role="button")
								观看预告片